<?php
/* function bytesToSize1024($bytes, $precision = 2) {
    $unit = array('B','KB','MB');
    return @round($bytes / pow(1024, ($i = floor(log($bytes, 1024)))), $precision).' '.$unit[$i];
}
$sFileName = $_FILES['image_file']['name'];
$sFileType = $_FILES['image_file']['type'];
$sFileSize = bytesToSize1024($_FILES['image_file']['size'], 1);
echo <<<EOF
<p>Your file: {$sFileName} has been successfully received.</p>
<p>Type: {$sFileType}</p>
<p>Size: {$sFileSize}</p>
EOF; */
$start = $_POST['time'];
$end = date('H:i:s');
$and = strtotime($end) - strtotime($start);

echo <<<EOF
<p> 开始时间 {$start} </p>
<p> 返回时间 {$end} </p>
<p> 用时: {$and}s </p>

EOF;